import { Get, Post, } from './request';
/** 操作日志 */
export enum OperateTypes {
    '停止' = 0,
    '上升' = 1,
    '下降' = 2,
    '一键上升' = 3,
    '紧急下降' = 4,
}
export enum OperatePlatform {
    'B/S管理平台' = 1,
    '遥控器' = 2,
    '固定设备' = 3,
}
/** 获取操作日志列表 */
export const getOperateList = (params: unknown) => Get('/zzoperatelog/list', params)

/** 获取单条操作日志信息
 * id
 */
export const getInfoById = (id: unknown) => Get(`/zzoperatelog/info/${id}`)

/** 删除操作日志
 * ids
 */
export const deleteInfo = (ids: unknown) => Post('/zzoperatelog/delete', ids)
